package com.bwie.home.backstage.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bwie.home.common.utils.PageUtils;
import com.bwie.home.backstage.entity.UserEntity;
import com.bwie.home.common.utils.R;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.Map;

/**
 * 
 *
 * @author sy
 * @email sunlightcs@gmail.com
 * @date 2021-09-10 09:46:41
 */
public interface UserService extends IService<UserEntity> {

    R queryPage(Map<String, Object> params, UserEntity userEntity);


    UserEntity phoneLogin(UserEntity userEntity, HttpServletRequest request, HttpServletResponse response);

    UserEntity phone(String phone, String code);
}

